﻿//-----------------------------------------------------------------------
// <copyright file="Copyright.cs" author="Michael Herndon">
//     Copyright (c) Company.  All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace Amplify.CodeDom
{
	using System;
	using System.CodeDom;
	using System.Collections.Generic;
	using System.Linq;
	using System.Text;

	public class Template
	{
		private static string modifier = "";

		public static string Modifier
		{
			get { return modifier; }
			set { modifier = value; }
		}

		public CodeThisReferenceExpression This
		{
			get { return new CodeThisReferenceExpression(); }
		}

		public CodeConditionStatement If
		{
			get { return new CodeConditionStatement(); }
		}

		internal void Test()
		{
			CodeCompileUnit unit = new CodeCompileUnit();
			CodeNamespace nameSpace = unit.AddNamespace("Amplify.Code");
			nameSpace.AddImports("System");
			nameSpace.AddImports("System.Text");
			CodeTypeDeclaration @class = nameSpace.AddPartialClass("MyClass");
		}
	}
}
